Responder Developer Guide
Select(DataSession,String,IDbLoaderCriteria,String[]) Method


Version: 10.2.1a

Resource Center Home

A database connection and transaction information
The database table to query
The columns requested
Creates and populates a DataTable with the requested data.
Syntax
'Declaration
 
Public Overloads Function Select( _
   ByVal session As DataSession, _
   ByVal tableName As String, _
   ByVal criteria As IDbLoaderCriteria, _
   ByVal columns() As String _
) As DataTable
'Usage
 
Dim instance As DataLoader
Dim session As DataSession
Dim tableName As String
Dim criteria As IDbLoaderCriteria
Dim columns() As String
Dim value As DataTable
 
value = instance.Select(session, tableName, criteria, columns)
public DataTable Select( 
   DataSession session,
   string tableName,
   IDbLoaderCriteria criteria,
   string[] columns
)

Parameters

session
A database connection and transaction information
tableName
The database table to query
criteria
columns
The columns requested

Return Value

A DataTable that contains the resultset matching the given criteria
Remarks
You can think of this method returning a DataTable populated with data from the following query: "select (*|columns) from tableName where criteria"
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

DataLoader Class
DataLoader Members
Overload List

 

 


Send Comment